inspector: Select a window initially
authorMatthias Clasen <mclasen@redhat.com>
Wed, 7 May 2014 10:34:23 +0000 (06:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 May 2014 02:04:21 +0000 (22:04 -0400)
commit5fa71c69d8aaef0b937bbd184b2c004cd64b811c
tree659d145bbd97846afa63bd1b15d3e3ccd0e8afd3
parenta3713b51ff674be6621a0dde5e3bbf648d5a8a64
inspector: Select a window initially

The list of toplevels also includes hidden combobox popups
and the like, so we have to be a little careful. To ensure
the right choice, we now pick the first visible window
that is not a GtkInspectorWindow.
modules/inspector/window.c